1 <!-- Edit this file to change the layout of the detail view print preview page -->
2
3
4 <div
class="panel-heading"><h3 class="panel-title">
5     <strong><%%DETAIL_VIEW_TITLE%%></strong>
6     <div
class="hidden-print pull-right">
7         <div
class="btn-group">
8             <button type=
"button" id="print" onclick="window.print();" title="<%%TRANSLATION(Print)%%>" class="btn btn-primary"><i class="glyphicon glyphicon-print"></i> <%%TRANSLATION(Print)%%></button>
9             <button type=
"submit" id="back" title="<%%TRANSLATION(Cancel Printing)%%>" class="btn btn-default"><i class="glyphicon glyphicon-remove-circle"></i> <%%TRANSLATION(Cancel Printing)%%></button>
10         </div>
11     </div>
12     <div
class="clearfix"></div>
13 </h3></div>
14
15 <div
class="panel-body">
16     <fieldset
class="form-horizontal">
17         <div
class="form-group" style="border-bottom: dotted 1px #DDD;">
18             <label
class="col-xs-3 control-label">ID</label>
19             <div
class="col-xs-9">
20                 <div
class="form-control-static"><%%VALUE(id)%%></div>
21             </div>
22         </div>
23         <div
class="form-group" style="border-bottom: dotted 1px #DDD;">
24             <label
class="col-xs-3 control-label">Name</label>
25             <div
class="col-xs-9">
26                 <div
class="form-control-static"><%%VALUE(name)%%></div>
27             </div>
28         </div>
29         <div
class="form-group" style="border-bottom: dotted 1px #DDD;">
30             <label
class="col-xs-3 control-label">School</label>
31             <div
class="col-xs-9">
32                 <div
class="form-control-static"><span id="school<%%RND1%%>"><%%COMBOTEXT(school)%%></span></div>
33             </div>
34         </div>
35     </fieldset>
36 </div>
37 <!-- child records -->
38 <div
class="panel-body">
39     <div id=
"departments-children"></div>
40 </div>
41
42 <script>
43     $j(function(){
44         
/* prevent loading child records in multiple DVP */
45         
if($j('[id=departments-children]').length > 1) return;
46
47         post(
48             
'parent-children.php', {
49                 ParentTable:
'departments',
50                 SelectedID:
'<%%VALUE(id)%%>',
51                 Operation:
'show-children-printable'
52             },
53             
'departments-children',
54             
'disable-element',
55             
'loading-element',
56             apply_persisting_children
57         );
58
59         $j(
'form').on('click', '#children-tabs button[data-target]', function(){
60             $j(
this).toggleClass('active');
61             persist_expanded_child($j(
this).attr('id'));
62         });
63     })
64 </script>



Hệ thống xếp lịch học tín chỉ cho sinh viên CNTT trên PHP & MySQL 112.124 lượt xem

Gõ tìm kiếm nhanh...